﻿using System;
using System.Collections.Generic;
using System.Windows.Controls;

namespace Songhay.Silverlight.Controls
{
    /// <summary>
    /// Event arguments for <c>MultiSelectDropDown</c>.
    /// </summary>
    public class OnGettingSelectedItemsEventArgs : EventArgs
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="OnGettingSelectedItemsEventArgs" /> class.
        /// </summary>
        /// <param name="items">The items.</param>
        public OnGettingSelectedItemsEventArgs(ItemCollection items)
        {
            this.InnerListBoxItems = items;
        }

        /// <summary>
        /// Gets or sets the inner list box items.
        /// </summary>
        /// <value>
        /// The inner list box items.
        /// </value>
        public ItemCollection InnerListBoxItems { get; set; }

        /// <summary>
        /// Gets or sets the selected items.
        /// </summary>
        /// <value>
        /// The selected items.
        /// </value>
        public IEnumerable<object> SelectedItems { get; set; }
    }
}
